package com.serookie.service;

import com.serookie.entity.GoodsCategory;
import java.util.List;

/**
 * @author kevintam
 * @version 1.0
 * @date 2021/5/8 15:30
 */
public interface GoodsCategoryService{
    //    查询所有的分类列表以树形结构展示
    List<GoodsCategory> getTypeWithTree();
//    根据id删除商品分类
    void removeByIds(List<Integer> asList);

    boolean save(GoodsCategory category);

    boolean updateById(GoodsCategory category);

    GoodsCategory getById(Integer id);
    public Integer goodsCount();
}
